/**
 * I think b2Block(in fact, it is a struct) is only used by Box2D internally.
**/
public class b2Block extends b2AllocationGuard {

	b2Block(int addr) {
		super(addr);
	}

	@Override
	public void release() {
		if ( address != 0 ) {
			jni_b2Block_release(address);
			super.release();
		}
	}

	public b2Block() {
		address = jni_b2Block();
	}

	private native static int jni_b2Block();
	private native static void jni_b2Block_release(int me);
}
